@import '@/styles/variables.scss';
/* DialogThreshold */
.user-dialog {
  .mt-30{margin-top: 30px;}
  .el-dialog__header{
    background-color: $menuActiveText;
    text-align: center;
    padding: 15px;
    .el-dialog__title {
      color: #ffffff;
      font-size: 16px;
    }
    .el-dialog__headerbtn {
      top: 15px;
    }
    .el-dialog__close {
      color: #ffffff;
    }
  }
  .el-dialog__body {
    padding: 0;
    .content-info{
      margin: 30px 0;
      text-align: center;
    }
  }
}
 /* filter-box */
.filter-box{
  .search-bar{
    position: relative;
    line-height: 34px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 15px 0;
  
    .el-button{
      padding: 8px 12px;
    }
  
    .input-with-select{
      width: 530px;
  
      .el-input__inner{
        height: 34px;
      }
  
      .el-input-group__append{
        padding: 0 30px;
        background-color: #409EFF;
        border-color: #409EFF;
        color:#fff;
      }
    }
  
    .more{
      margin-left: 10px;
      font-size: 12px;
      cursor: pointer;
      color: $fontColor;
    }

    .fit-more-select,
    .fit-more-show {
      cursor: pointer;
      display: inline-block;
      margin: 0 0 0 20px;
      font-size: 12px;
      color: $fontColor;
      .rotation90 {
        transform: rotate(90deg);
      }
      .el-icon-caret-right {
        transition: all 0.3s;
      }
    }
  }
  .search-checkbox{
    margin: 0 0 15px;
    display: flex;
    font-size: 14px;
    .min-w70{
      min-width: 70px;
    }
    .el-checkbox{
      color: #606266;
      font-weight: 500;
      font-size: 14px;
      position: relative;
      cursor: pointer;
      display: inline-block;
      white-space: nowrap;
      user-select: none;
      margin-right: 15px;
      margin-bottom: 5px;
      .el-checkbox__label{
        display: inline-block;
        padding-left: 5px;
        line-height: 19px;
        font-size: 14px;
      }
      .el-checkbox__input{
        white-space: nowrap;
        cursor: pointer;
        outline: none;
        display: inline-block;
        line-height: 1;
        position: relative;
        vertical-align: middle;
        margin: -2px 0 0 0;
      }
    }
  }
}

/* input-dialog */
.input-dialog{
  max-height: 80vh;
  overflow: hidden;
  .el-dialog__header{
    padding: 13px 20px;
    background-color: $menuActiveText;
    .el-dialog__title {
      color: #ffffff;
      font-size: 16px;
    }
    .el-dialog__headerbtn {
      top: 15px;
    }
    .el-dialog__close {
      color: #ffffff;
    }
  }
  .el-dialog__body{
    max-height: calc(80vh - 54px - 60px);
    overflow: auto;
    .el-form{
        width: 90%;
    }
    .el-select{
        width: 100%;
    }
    .el-checkbox{
        margin-right: 15px;
    }
    .el-checkbox__label{
        padding-left: 5px;
    }
    .el-date-editor {
      width: 100% !important;
    }
    .dialoglist {
      margin-top: 20px;
      border-bottom: 1px solid rgba(34, 36, 38, 0.1);
      li {
        width: 100%;
        padding:0 0;
        line-height: 40px;
        border: 1px solid rgba(34, 36, 38, 0.1);
        border-bottom: none;
        &.list-title {
          background: whitesmoke;
        }
        &.selectChange{
          color: #ffffff;
          background-color: #409eff;
          .txt{
            border-left: 1px solid #66affb;
          }
        }
      }

      .num{
        width: 90px;
        display: inline-block;
        text-align: center;
      }
      .txt{
        width: 100px;
        display: inline-block;
        border-left: 1px solid #eee;
        padding:0 0 0 10px;
      }
      .company{
        width: 305px;
        display: inline-block;
        padding:0 0 0 10px;
      }
      .name{
        width: 250px;
        display: inline-block;
        border-left: 1px solid #eee;
        padding:0 0 0 10px;
      }
      .man{
        text-align: center;
        width: 70px;
        display: inline-block;
        border-left: 1px solid #eee;
      }
      .tel{
        text-align: center;
        width: 100px;
        display: inline-block;
        border-left: 1px solid #eee;
      }
    }
  }
}
.input-dialog-1 {
  .el-dialog__body {
    .el-form {
      width: 100%;
    }
  }
}
/* more-select */
.search-detail{
  margin: 0 0 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  &.dialog-form{
    .el-form{
      .el-form-item{
        width: 400px;
        .el-form-item__content{
          width: 310px;
        }
        .el-cascader{
          width: 100%;
        }
      }
    }
  }
  .el-form{
    .el-form-item{
      width: 270px;
      display: inline-block;
      margin: 5px 5px 5px 0;
      &.date-time-range-form{
        width: 450px;
        .el-form-item__content{
          width: 360px;
        }
      }
      .el-form-item__label{
        width: 90px;
        float: none;
        font-weight: 400;
        text-align: right;
      }
      .el-form-item__content{
        display: inline-block;
        width: 180px;
      }
    }
    .build-time{
      // width: 270px;
      display: block;
      width: 180px;
      color: #409EFF;
      cursor: pointer;
      text-align: left;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
      // margin-right: 5px;
      .label{
        margin-right: 12px;
        margin-left: 12px;
        line-height: 50px;
      }
      .el-button--text{
        color: #409EFF;
        background: 0 0;
        padding-left: 0;
        padding-right: 0;
      }
    }
    .el-date-editor {
      &.el-input__inner,
      &.el-input {
        width: 100%;
      }
      .el-range-separator {
        width: 10%;
      }
    }
  }
  .set-hour, .set-day, .set-time{
    display: inline-block;
    width: 32%;
    color: #409EFF;
    font-size: 13px;
    li{
      cursor: pointer;
      line-height: 25px;
    }
  }
}

/* select-tabs*/
.left-box{
  float: left;
  width: 90px;
  margin-top: -8px;
  margin-right: 20px;
  margin-bottom: 15px;
  position: relative;

  ul{
    width: 100%;
    
    li{
      padding: 12px 0 12px 5px;
      border-bottom: 1px solid rgba(34, 36, 38, 0.1);
      &.suppRowColor{
        color: #409EFF;
      }
    }
  }
}
/* video-player */
.video-box {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #000;
  .el-loading-mask{
    background: none;
  }
  .video-js{width: 100%; height: 100%;}
  .icon {
    width: 1em; 
    height: 1em;
    /* vertical-align: -0.15em; */
    vertical-align: top;
    fill: currentColor;
    overflow: hidden;
  }
}
// 富文本编辑器样式
.editor {
  width: 100%;
  min-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 0;
}
.toolbar {
  border: 1px solid #ccc;
}
.text {
  border: 1px solid #ccc;
  min-height: 500px;
  .w-e-text{
    overflow-y: auto;
  }
}
